package com.team.instantsharing.ultils;

import org.springframework.http.HttpHeaders;

public class RequestHeader {
	public static HttpHeaders getDefaultHeader(){
		HttpHeaders requestHeaders = new HttpHeaders();
		requestHeaders.set("Cloudsharing-Token", Constant.CLOUDSHARING_TOKEN);
		return requestHeaders;
	}
	public static HttpHeaders getUserHeader(String userSecretKey){
		HttpHeaders requestHeaders = new HttpHeaders();
		requestHeaders.set("Cloudsharing-Token", Constant.CLOUDSHARING_TOKEN);
		requestHeaders.set("User-Token", userSecretKey);
		return requestHeaders;
	}
}
